import requests

# a = ['rgwue','df','ghh']
# s = max(a,key=len)
# print(s)
#
#
# b= [2,10,5,9]
# max = b[0]
# for i in b:
#     if max < i:
#         max = i
# print(max)
#
#
# aa = [1,2,3,4,5,6,7]
# bb= aa[::2]
# print(bb)
#
# lists = [1, 1, 2, 3, 4, 5, 6]
# lists.remove(1)
# lists.extend([7,8,9])
# print(lists)

a = [1, 3, 5, 7]
b = [2, 4, 6, 8]
a.extend(b)
a.sort()
print(a)